package com.qiang.service.impl;

import com.qiang.mapper.AerobicUserMapper;
import com.qiang.model.AerobicUser;
import com.qiang.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName UserServiceImpl
 * @Author zhuhongqiang
 * @Date 2019/4/1 10:13
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    AerobicUserMapper userMapper;
    public String hello() {
        return "say hello";
    }

    public AerobicUser getUserById(Integer id) {
        return userMapper.selectByPrimaryKey(id);
    }
}
